package com.dgut.coal.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: Yang
 * @Description:
 * @Date: Created in 15:09 2019/10/6
 * @Modifued BY:
 */
public class Audit {

    private Integer audit_id;
    private String operator;
    private Integer operate;
    private String audit_content;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date audit_date;

    private Integer apply_id;

    public Integer getAudit_id() {
        return audit_id;
    }

    public void setAudit_id(Integer audit_id) {
        this.audit_id = audit_id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getOperate() {
        return operate;
    }

    public void setOperate(Integer operate) {
        this.operate = operate;
    }

    public String getAudit_content() {
        return audit_content;
    }

    public void setAudit_content(String audit_content) {
        this.audit_content = audit_content;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    public Integer getApply_id() {
        return apply_id;
    }

    public void setApply_id(Integer apply_id) {
        this.apply_id = apply_id;
    }

    @Override
    public String toString() {
        return "Audit{" +
                "audit_id=" + audit_id +
                ", operator='" + operator + '\'' +
                ", operate=" + operate +
                ", audit_content='" + audit_content + '\'' +
                ", audit_date=" + audit_date +
                ", apply_id=" + apply_id +
                '}';
    }
}
